import rentBillService from "#/service/rentBill";
import { createBaseController } from "#/utils";
import { Application } from "express";
export default function (app: Application) {
  createBaseController(app, "/wscc/rentbill", rentBillService);
  /**
   * 查询统计信息
   */
  app.get("/wscc/rentbill/total", async (req, res) => {
    res.send(await rentBillService.queryRentTotal());
  });
}
